package com.qiang.test17;

public class Demo02 {
    public static void main(String[] args) {
        Eat eat = new Eat() {
            @Override
            public void Eat(String s) {
                System.out.println("吃" + s);
            }
        };
        eat.Eat("粑粑");
    }
}
